package xin.nick.demo;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Auther: Nick inickning@outlook.com
 * @Date: 2021/2/28 14:54
 * @Description:
 */
@Configuration
public class FilterConfig {

    @Bean
    public IpFilter ipFilter() {
        return new IpFilter();
    }

    @Bean
    public TwoFilter twoFilter() {
        return new TwoFilter();
    }

    @Bean
    public ErrorFilter errorFilter() {
        return new ErrorFilter();
    }

    @Bean
    public MyPostFilter myPostFilter() {
        return new MyPostFilter();
    }

    @Bean
    public MyDebugFilter myDebugFilter() {
        return new MyDebugFilter();
    }



}
